package com.daxia.ogmall.common;


public enum SeedStatus {
	nodetermined(0, "待确定"),
	attend(1, "已参加"),
	completed(2, "已完成")
    ; 

    private int value;
    private String remark;

    private SeedStatus(int value, String remark) {
        this.value = value;
        this.remark = remark;
    }

    public int getValue() {
        return value;
    }

    public String getRemark() {
        return remark;
    }

    public static SeedStatus getByValue(int value) {
        for (SeedStatus o : SeedStatus.values()) {
            if (o.getValue() == value) {
                return o;
            }
        }
        return null;
    }
}
